﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
 public partial   class TaiKhoan:DtoClass
    {
     public TaiKhoan()
     {
         _tableName = "TaiKhoan";
       _keyField = "TenTaiKhoan";
     }
     public TaiKhoan(string tenTaiKhoan,string matKhau,Int16 maQuyen,string maNhanVien,bool khoa)
     {
         _tableName = "TaiKhoan";
         _keyField = "TenTaiKhoan";
         this.TenTaiKhoan = tenTaiKhoan;
         this.MatKhau = matKhau;
         this.MaQuyen = maQuyen;
         this.MaNhanVien = maNhanVien;
         this.Khoa = khoa;
     }
     private string _tenTaiKhoan = "";

     public string TenTaiKhoan
     {
         get { return _tenTaiKhoan; }
         set { _tenTaiKhoan = value; }
     }
     private string _matKhau = "";

     public string MatKhau
     {
         get { return _matKhau; }
         set { _matKhau = value; }
     }
     private bool _khoa = false;

     public bool Khoa
     {
         get { return _khoa; }
         set { _khoa = value; }
     }
     private Int16 _maQuyen = 0;

     public Int16 MaQuyen
     {
         get { return _maQuyen; }
         set { _maQuyen = value; }
     }
     private string _maNhanVien = "";

     public string MaNhanVien
     {
         get { return _maNhanVien; }
         set { _maNhanVien = value; }
     }
    }
}
